import Vue from 'vue'
import Vuex from 'vuex'
import api from '@/api/index'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    isLogin:null,
    info:null,
    token:''
    
  },
  mutations: {
    updateToken(state, str) {
      state.token = str

    },
  },
  actions: {
    
  },
  modules: {
  }
})
